from pyasn1.type.tag import *
from pyasn1.type.namedtype import *
from pyasn1.type.univ import *
from pyasn1.type.char import *


class AttributeValueAssertion(Sequence):
    componentType = NamedTypes(
        NamedType('attributeType', ObjectIdentifier()),
        NamedType('attributeValue', PrintableString())
    )


class RelativeDistinguishedName(SetOf):
    componentType = AttributeValueAssertion()


class RDNSequence(SequenceOf):
    componentType = RelativeDistinguishedName()
